package com.eshop.we.exchange.form;

import com.eshop.we.exchange.entity.Exchange;

import java.util.Arrays;
import java.util.List;

/**
 * @author wangzhanguo
 * @create 2018-07-26 16:09
 **/
public class ExchangeForm extends Exchange {

    private List<String> details;

    public void setDetails(String details){
        String[] strs =  details.split(",");
        this.details = Arrays.asList(strs);
    }

    public List<String> getDetails(){
        return details;
    }

}
